
package cup.modules.visual.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cup.modules.visual.dto.VisualComponentDTO;
import cup.modules.visual.entity.VisualComponent;
import cup.modules.visual.mapper.VisualComponentMapper;
import cup.modules.visual.service.IVisualComponentService;
import org.springframework.stereotype.Service;

/**
 * 可视化地图配置表 服务实现类
 *
 * @author CUP
 */
@Service
public class VisualComponentServiceImpl extends ServiceImpl<VisualComponentMapper, VisualComponent> implements IVisualComponentService {

	@Override
	public IPage<VisualComponentDTO> selectVisualComponentPage(IPage<VisualComponentDTO> page, VisualComponentDTO visualComponent) {
		return page.setRecords(baseMapper.selectVisualComponentPage(page, visualComponent));
	}

}
